#include<stdio.h>
#include<string.h>
int main()
{
  FILE* fp =fopen("text.txt","w");
  if(!fp)
  {
    printf("fopen eror!\n");
  }
  const char* str = "jiejie2021\n";
  int cnt = 5;
  while(cnt--)
  {
    fwrite(str,strlen(str),1,fp);
  }

  fclose(fp);

  return 0;
}
